<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    #fan{
        width: 99px;
        height: 99px;
        background-color: rgb(247, 212, 57);
        animation: donghua 5s;
    }
    @keyframes donghua{
        0%{
            background-color: azure;
        }
        20%{
            background-color: aquamarine;
        }
        40%{
            background-color: black;
        }
        100%{
            background-color: blue;
        }
    }
</style>
<body>
    <div id="fan">
        fanhan
    </div>
</body>
</html>